﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace UI
{
    /*
        public class SiteOutputFile : FileContent
        {
            public const string SiteData = "Site.csv";

             
            public string SiteLocation { get; private set; }
             
            public string DirectoryName { get; private set; }
            public string Extention { get; private set; }

            public string GetBatchRename(string addition)
            {
                string BatchRename = DirectoryName + "\\" + System.IO.Path.GetFileNameWithoutExtension(FileName) + "_" + addition + System.IO.Path.GetExtension(FileName);
                return BatchRename;
            }

            public SiteOutputFile(string FileName)
                : base(FileName)
            {
                try
                {
                    string[] directories = FileName.Split(System.IO.Path.DirectorySeparatorChar);
                    SiteLocation = directories[directories.Length - 2];
                     
                    DirectoryName = System.IO.Path.GetDirectoryName(FileName);
                    Extention = System.IO.Path.GetExtension(FileName);
                }
                catch
                {
                    return;
                }

            }


        }
     */
}
